/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.config.javabeans;

/** This class conveys group definition for profiles membership search. */
public class JBGroupDef
{
    /** resource name. */
    private String resource;

    /** "uniqueMember" or "memberUrl" field. */
    private String field;

    /**
     * set the resource name.
     * @param value the resource name
     */
    public void setResource(String value)
    {
        this.resource = value;
    }

    /**
     * get the resource name.
     * @return the resource name
     */
    public String getResource()
    {
        return this.resource;
    }

    /**
     * set the "uniqueMember" or "memberUrl" field.
     * @param value the field name
     */
    public void setField(String value)
    {
        this.field = value;
    }

    /**
     * get the "uniqueMember" or "memberUrl" field.
     * @return the field name
     */
    public String getField()
    {
        return this.field;
    }
}
